Click on different rows to alert their index position:
The rowIndex property returns the position of a row in the rows collection of a table.
The rowIndex property is supported in all major browsers.
Return the rowIndex property:
Return Value: | A Number, representing the position of the row in the rows collection of a table |
---|
Return the index position of each row in a table: